package com.me.utils;

import java.io.IOException;
import java.io.InputStream;
import java.util.Properties;

public class IOUtility {
	private static Properties props = new Properties();
	
	static {
		try {
			InputStream in = IOUtility.class.getClassLoader().getResourceAsStream("config.properties");
			props.load(in);
		} catch (IOException e) {
			e.printStackTrace();
		}
	}
	
	public static String getProperty(String key) {
		return props.getProperty(key);
	}
}
